package hxy.scan.server.dao.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;


/**
 * @author eric
 */
@Data
public class LocationModel extends Model {
    private Integer id;
    private String address;
    private double latitude;
    private double longitude;
    private float accuracy;
    private String provider;
    private double altitude;
    private String name;
    private String nation;
    private String province;
    private String city;
    private String district;
    private String town;
    private String village;
    private String street;
    private String streetNo;
    private Integer areaStat;

    /**
     * 反序列化异常
     */
    @JsonIgnore
    private String poiList;
    private float bearing;
    private float speed;
    private long time;
    private long elapsedRealtime;
    /**
     * 重点关注下
     */
    private int gpsRssi;
    private String indoorBuildingId;
    private String indoorBuildingFloor;
    private int indoorLocationType;
    private double direction;
    private String cityCode;
    private String cityPhoneCode;
    private int coordinateType;
    private int mockGps;
    /**
     * 用户id或者电话号码
     */
    private long userId;
}
